package com.xian.cloud.sources;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: xlr
 * @Date: Created in 下午10:37 2019/1/7
 */
@Configuration
@ConfigurationProperties(prefix = "com.zipkin")
@Data
public class ZipkinProperties {

    private String serviceName;

    private String url;

    private int connectTimeout;

    private int readTimeout;

    private int flushInterval;

    private boolean compressionEnabled;

}
